package cn.edu.njuit.children.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName sys_children
 */
@TableName(value ="sys_children")
@Data
public class Children implements Serializable {
    /**
     * 编码
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联用户
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 宝宝昵称
     */
    @TableField(value = "cd_nickname")
    private String cdNickname;

    /**
     * 宝宝头像
     */
    @TableField(value = "cd_avatar")
    private String cdAvatar;

    /**
     * 宝宝性别
     */
    @TableField(value = "cd_gender")
    private String cdGender;

    /**
     * 出生日期
     */
    @TableField(value = "cd_birthday")
    private Date cdBirthday;

    /**
     * 入驻时间
     */
    @TableField(value = "acatar")
    private Date acatar;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
